package com.mes.entity.jy;

/**
 * @ClassName: Queryjy 
 * @Description:条件查询中的所有条件
 * @Author jy
 * @Date 2017年12月25日 上午10:51:47 
 * @version 1.0
 */
public class Queryjy {

	/**页面大小*/
	private Integer limit = 10;
	/**页码,(计算后为index)*/
	private Integer offset = 0;
	/**车间查询条件*/
	private String name;
	/**导出类型：1：导出当前页  2：导出所有*/
	private String type;
	
	/**时间*/
	private String datatime;
	
	/**车间*/
	private String carroom;
	
	/**品编*/
	private String pnum;
	
	//品质报表查询条件
	/**品编*/
	private String  nmum ;
	/**设备*/
	private String  machin;
	/**设备*/
	private Long  machin2;
	/**时间*/
	private String  datetime;
	/**班组*/
	private String remartk;
	
	//生产计划单查询条件
	/**状态*/
	private String state;
	/**开始时间*/
	private String stime;
	
	/**开始时间*/
	private String etime;
	
	/**部门*/
	private String department;
	/**职位*/
	private String position;
	
	/**产品id*/
	private String pid;
	
	/**产品名称*/
	private String pname;
	/**物料名称*/
	private String mname;
	
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public String getMname() {
		return mname;
	}
	public void setMname(String mname) {
		this.mname = mname;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public Long getMachin2() {
		return machin2;
	}
	public void setMachin2(Long machin2) {
		this.machin2 = machin2;
	}
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	public Integer getOffset() {
		return offset;
	}
	public void setOffset(Integer offset) {
		if(offset.equals(0)) {
			this.offset = offset;
		}
		this.offset = offset/limit;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public String getDatatime() {
		return datatime;
	}
	public void setDatatime(String datatime) {
		this.datatime = datatime;
	}
	public String getCarroom() {
		return carroom;
	}
	public void setCarroom(String carroom) {
		this.carroom = carroom;
	}
	public String getNmum() {
		return nmum;
	}
	public void setNmum(String nmum) {
		this.nmum = nmum;
	}
	public String getMachin() {
		return machin;
	}
	public void setMachin(String machin) {
		this.machin = machin;
	}
	public String getDatetime() {
		return datetime;
	}
	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}
	public String getRemartk() {
		return remartk;
	}
	public void setRemartk(String remartk) {
		this.remartk = remartk;
	}
	public String getPnum() {
		return pnum;
	}
	public void setPnum(String pnum) {
		this.pnum = pnum;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getStime() {
		return stime;
	}
	public void setStime(String stime) {
		this.stime = stime;
	}
	public String getEtime() {
		return etime;
	}
	public void setEtime(String etime) {
		this.etime = etime;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	
}
